package com.service;

import com.pojo.PageBean;
import com.pojo.TbGoods;
import com.pojo.TbGoodsKz;

import java.sql.SQLException;

public interface GoodsService {

    //添加商品
    void addGoods(TbGoodsKz tbGoodsKz) throws SQLException;
    PageBean<TbGoods>getGoodsPageByTypeId(int typeId, int currentPage);

    TbGoods getGoodById(int id);
}
